package com.cyz.user.userService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyz.common.bean.Card;
import com.cyz.common.dto.CardDto;
import com.cyz.common.utils.R;

/**
* @author 34928
* @description 针对表【card】的数据库操作Service
* @createDate 2023-02-21 08:14:10
*/
public interface CardService extends IService<Card> {

    R queryCards();

    R queryCardsAndButtons();

    R getCardById(Integer id);

    R updateViewCount(Integer id);

    R queryHotCards();

    R queryMyCards();

    R addMyCard(CardDto cardDto);
}
